package org.wukongcrm.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.wukongcrm.domain.model.LeadsVo;
import org.wukongcrm.mapper.LeadsMapper;
import org.wukongcrm.domain.entity.Leads;
import org.wukongcrm.service.LeadsService;
@Service
public class LeadsServiceImpl extends ServiceImpl<LeadsMapper, Leads> implements LeadsService{

    @Override
    public List<LeadsVo> selectLeads (Page<LeadsVo> page, String conditions, Integer leadsId) {
        return baseMapper.selectLeads(page, conditions, leadsId);
    }

    @Override
    public int updateOwnerUser (Integer ownerUserId, Integer leadsNo) {
        return baseMapper.updateOwnerUser(ownerUserId, leadsNo);
    }


}
